//订单接口模块
import request from '@/utils/request'

//获取订单列表
export const getOrderListReq = params => {
  return request({
    method: 'get',
    url: '/order/list',
    params,
  })
}

// 24.获取订单详情
export const getOrderDetailReq = params => {
    return request({
      method: 'get',
      url: '/order/detail',
      params,
    })
  }
  
//获取首页数据
export const getTotalDataReq = () => {
  return request({
    method: 'get',
    url: '/order/totaldata',
  })
}
//获取订单数据
export const getOrderTotalReq = params => {
  return request({
    method: 'get',
    url: '/order/ordertotal',
    params,
  })
}